import {apiGetToolsLink} from "../../request/api";

export default {
  created() {
    apiGetToolsLink().then(res => {
      if (res.code == 1) {
        let index = this.$route.path == "/toolManage/toolManage" ? 1 : 0
        window.open(res.msg[index])
      }
    }).catch(res => {

    })
  }
}
